---
title: Chart.ClearToMatchStyle Method (Project)
ms.prod: project-server
ms.assetid: 6715dd6c-4213-6fc6-5cdb-5eefbaf9d875
ms.date: 06/08/2017
---


# Chart.ClearToMatchStyle Method (Project)
Clears the formatting of the chart elements and sets formatting to automatic.

## Syntax

 _expression_. **ClearToMatchStyle**

 _expression_ A variable that represents a **Chart** object.


### Return value

 **Nothing**


## Remarks

Use the  **ClearToMatchSyle** method to reset the formatting of all chart elements to automatic. If you use this method on a chart, any formatting overrides are reset to the default values.


## See also


#### Other resources


[Chart Object](chart-object-project.md)
[ClearToMatchColorStyle](chart-cleartomatchcolorstyle-method-project.md)
